<!--
var AllChk=frm.getElementsByTagName("Input");
for (i = 0; i < AllChk.length; i++)
	{if (AllChk[i].name.substring(0,4)=="all_")
		{ var NumAll=AllChk[i].name.substring(AllChk[i].name.length-2,AllChk[i].name.length);
			var TempLen=-1;
			var tempA=0;
			for (j = 0; j < AllChk.length; j++)
		  		{ if ((AllChk[j].type=="checkbox") && (AllChk[j].id.substring(AllChk[j].id.length-2,AllChk[j].id.length)==NumAll))
					{ TempLen+=1;
					  if (AllChk[j].checked==true)
					  		tempA+=1;
					 }
				}
			if (tempA==TempLen)
				{AllChk[i].checked=true;}
		}
	}
-->